package com.food.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.food.pojo.CaloriesIngestibleUser;
import com.food.pojo.Comments;
import com.food.pojo.Users;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author beixiang
 * @version 1.0
 * @description TODO
 * @date 2023/3/28 12:40
 */
@Repository
public interface UsersMapper extends BaseMapper<Users> {

    String selectUserByUserId(Integer userId);

    //分页查询
    public IPage<Users> selectPage(Page<Object> pageParam, @Param("userNameVo") String userNameVo);
}
